package com.junzhiit.nengji.shop.bo;

import java.util.List;

import com.bainaeco.framework.base.BaseObject;

public class ShopDetailBO extends BaseObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String shopId;
	
	private String shopName;
	
	private String shopLogo;
	
	private Double realMoney;
	
	private Double postage;
	
	private List<GoodsDetailBO> goods;
	
	//总餐盒费
	private Double foodBoxCharge;
		
	public Double getFoodBoxCharge() {
		return foodBoxCharge;
	}

	public void setFoodBoxCharge(Double foodBoxCharge) {
		this.foodBoxCharge = foodBoxCharge;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getShopLogo() {
		return shopLogo;
	}

	public void setShopLogo(String shopLogo) {
		this.shopLogo = shopLogo;
	}

	public Double getRealMoney() {
		return realMoney;
	}

	public void setRealMoney(Double realMoney) {
		this.realMoney = realMoney;
	}

	public Double getPostage() {
		return postage;
	}

	public void setPostage(Double postage) {
		this.postage = postage;
	}

	public List<GoodsDetailBO> getGoods() {
		return goods;
	}

	public void setGoods(List<GoodsDetailBO> goods) {
		this.goods = goods;
	}

	@Override 
    public boolean equals(Object st){
		ShopDetailBO bo = (ShopDetailBO)st;
		if(this.getShopId().equals(bo.getShopId())){
			return true;
		}else{
			return false;
		}
	}
	
	@Override 
	public int hashCode(){
		return this.getShopId().hashCode();
	}
}
